package cn.ven3.comn;

public class R {

    public static final String CODE_SUCCESS = "200";
    public static final String CODE_FAILED = "300";
    public static final String MESSAGE_SUCCESS = "处理c成功";
    public static final String MESSAGE_FAILED = "处理失败";

    private String code;
    private String msg;
    private Object data;

    public R() {
    }

    public R(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public R(String code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
